<?= $this->Form->create('User', array(
    'url' => '/app/login'
)) ?>

    <?= $this->Form->input('username', array( 'label' => 'Username:')) ?>
    <?= $this->Form->input('password', array( 'label' => 'Password:')) ?>
    
    <?= $this->Form->submit('Login', array('div' => false)) ?>
	<?php echo $this->Session->flash(); ?>
<?= $this->Form->end() ?>